﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;

namespace JSONConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = "{title:123,body:456,list:{title:'这是一个标题',body:'what'}}";
            JObject o = JObject.Parse(str);
            var s = from p in o.Children() select p;
            foreach (var item in s)
            {
                Console.WriteLine(item);

            }
            Console.ReadKey();
        }
    }
}
